A travesty of justice refers to a situation in which the legal process is grossly unfair or distorted, resulting in a miscarriage of justice. It often implies that the outcome is so absurd or unjust that it undermines the integrity of the legal system.